﻿using BPMN.Application.Contracts.DTO.Response.Role;
using BPMN.Domain.Entity.User;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BPMN.Application.Contracts.DTO.Response.UserInfo
{
    public class UserInfoShowResponseDto
    {
        /// <summary>
        /// 用户Id
        /// </summary>
        public int UserId { get; set; }
        /// <summary>
        /// 用户名
        /// </summary>
        [Description("用户名")]
        public string UserName { get; set; }
        /// <summary>
        /// 姓名
        /// </summary>
        [Description("姓名")]
        public string Name { get; set; }
        /// <summary>
        /// 手机号
        /// </summary>
        [Description("手机号")]
        public string Tel { get; set; }
        /// <summary>
        /// 邮箱
        /// </summary>
        [Description("邮箱")]
        public string Email { get; set; }
        /// <summary>
        /// 密码错误次数
        /// </summary>
        public int ErrorCount { get; set; } = 0;
        /// <summary>
        /// 注册时间
        /// </summary>
        public DateTime UserDate { get; set; } = DateTime.Now;
        public bool IsDel { get; set; }
        /// <summary>
        /// 角色名称
        /// </summary>
        public List<RoleShowResponseDto> RoleList { get; set; }

        public List<Extend> Eids { get; set; }
    }
}
